import request from "../../../../assets/js/request";

/**
 * 获取搜索数据
 * @param searchData
 */
export function searchReportData(searchData){
  return request({
    url: '/report/searchReportData',
    method: 'POST',
    data: searchData,
    headers:{
      "Content-Type" : "application/json"
    }
  })
}

/**
 * 提交审核结果
 * @param report
 * @returns {Promise<AxiosResponse<any>> | *}
 */
export function submitAudit(report){
  return request({
    url: '/report/submitAudit',
    method: 'POST',
    data: report,
    headers:{
      "Content-Type" : "application/json"
    }
  })
}
